import {SHOWROUTER,HIDEROUTER} from './type.js'  

const state = {  
	routerevent:true 
}  
  
const mutations = {  
	[SHOWROUTER](state){  
		state.routerevent = true;  
	},  
	[HIDEROUTER](state){  
		state.routerevent = false;  
	}  
}  
  
const getters = {  
	routerevent(state){  
		return state.routerevent 
	}  
}  
  
export default {  
	state,mutations,getters  
}  